﻿using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace SPWorks.Layouts.stc.ApplicationPages
{
    public partial class ListItemPermission : LayoutsPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SPWeb web = SPContext.Current.Web;
            //SPRoleDefinitionCollection roleColl = web.RoleDefinitions;
            //foreach (SPRoleDefinition role in roleColl)
            //{
            //    System.Web.UI.WebControls.ListItem item = new System.Web.UI.WebControls.ListItem("<b>" + role.Name.ToString() + "</b><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>" + role.Description.ToString() + "</i>", role.Id.ToString());
            //    CheckBoxList1.Items.Add(item);
            //    //st += role.Name.ToString() + "<br/>";
            //    //Console.WriteLine(role.Name.ToString());
            //}
            
        }
    }
}
